package com.neusoft.tmall.ums.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.neusoft.tmall.ums.entity.UmsResource;
import com.neusoft.tmall.ums.entity.UmsResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UmsResourceMapper extends BaseMapper<UmsResource> {
    long countByExample(UmsResourceExample example);

    int deleteByExample(UmsResourceExample example);

    List<UmsResource> selectByExample(UmsResourceExample example);

    int updateByExampleSelective(@Param("record") UmsResource record, @Param("example") UmsResourceExample example);

    int updateByExample(@Param("record") UmsResource record, @Param("example") UmsResourceExample example);

    List<UmsResource> selectUmsAdminAuthList(Long id);
}